-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(controller): configurable terminationGracePeriodSeconds #4940
feat(controller): configurable terminationGracePeriodSeconds #4940
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM, but before merging I'll bring this up with the team to make sure we still want this spec. It has been a while since that issue was opened
e733603
to
6dd5e17
Compare
What’s the use case for this? You’ve sidecars that take >30s to terminate? |
I personally don't have any use case for this, |
Hi @ryan4yin @fabio-rigato @kerneltime @matveybrant, Could you give us some use cases on when a configurable terminationGracePeriod would be needed? |
Hi @tczhao. We currently won't want to support this as its own field in our spec (i.e. as |
That make sense, will do the change |
6dd5e17
to
9890f1b
Compare
@tczhao Bump! Still working on this? |
3541ec8
to
4b9b06f
Compare
@simster7 updated, please have a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tczhao, this looks great thanks. Could you please include an E2E test that makes use of the podSpecPatch
field? (example: https://github.com/argoproj/argo/blob/master/examples/pod-spec-patch.yaml).
This is crucial to ensure that a user can set this field right from their workflow
Signed-off-by: Tianchu Zhao <evantczhao@gmail.com>
b011a74
to
0ae3ffb
Compare
Signed-off-by: Tianchu Zhao <evantczhao@gmail.com>
0ae3ffb
to
96c8279
Compare
@simster7 e2e test added |
allow configure terminationGracePeriodSeconds from template
It sets the max wait time between SIGTERM and SIGKILL for main and sidecars
Resolves: #1012
Checklist: